<template>
	<view class="notice">
		<!-- //租房小课堂 -->
		<one v-if="index==2"></one>
		<two v-if="index==3"></two>
		<three v-if="index==4"></three>
		<four v-if="index==5"></four>
	<!-- 	<view class="tips">
			<span style="font-weight: bold;">免责声明</span>：扒拉扒拉
		</view> -->
	</view>
</template>

<script>
	import one from './noticeItm/class.vue'
	import two from './noticeItm/two.vue'
	import three from './noticeItm/three.vue'
	import four from './noticeItm/four.vue'
	export default{
		components:{one,two,three,four},
		data(){
			
			return{
				index:0
			}
		},
		onLoad(option){
			this.index=option.index
		}
	}
</script>

<style>
	.notice{
		padding: 24rpx 32rpx;
		min-height: 100vh;
		/* background: #f4f4f4; */
		box-sizing: border-box;
	}
	.tips{
		width: 95%;
		position: absolute;
		bottom: 80rpx;
		left: 50%;
		transform: translateX(-50%);
		font-size: 24rpx;
		color: #333;
		
	}
</style>